﻿@model SerieSpotter.Models.User

@{
    ViewBag.Title = "Create";
}

<h2>@Resources.Resource.Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>User</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.UserProfileUserName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserProfileUserName)
            @Html.ValidationMessageFor(model => model.UserProfileUserName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.password)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.password)
            @Html.ValidationMessageFor(model => model.password)
        </div> 
        <p>
            kies User of Admin
        </p>
        <div class="editor-label">
            @Html.LabelFor(model => model.Role)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Role)
            @Html.ValidationMessageFor(model => model.Role)
        </div>

        <p>
            <input type="submit" value="@Resources.Resource.Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink(@Resources.Resource.Back, "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
